<?php

class Application_Form_RemoveCategory extends Zend_Form
{

    public function init()
    {
        // Category Name
        $catName = new Zend_Form_Element_Select('cat_name');
        $allCat = new Application_Model_DbTable_Categories();
        $catName->setLabel('Category title')
                ->addMultiOptions($allCat->getAllCategories());

        $submitAddCat = new Zend_Form_Element_Submit('submit');
        $submitAddCat->setLabel('Удалить');

        $this->addElements(array($catName, $submitAddCat));
    }


}

